// 引入js-base64库
// import Base64 from 'js-base64';

// Base64 编码
export const base64Encode = (text) => {
	const encoded = btoa(text);
	return encoded;
}

// Base64 解码
export const Base64Decode = (enText) => {
	const decoded = atob(enText);
	return decoded;
}
